package edu.software.cakehomework.dao;

import edu.software.cakehomework.entity.ShoppingCart;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface ShoppingCartRepository extends JpaRepository<ShoppingCart, Integer> {
    List<ShoppingCart> findByCake_CakeId(Integer cakeId);
}